package com.xzit.homework.静态代理;

public class Test {
    public static void main(String[] args) {
        //原始高翠兰
        Lady gcl = new GaoCuiLan();
        gcl.fightPig();
        gcl.catchPig();
        System.out.println("+++++++悟空登场+++++++!");
        Lady proxy = new SunWuKongProxy(gcl);
        proxy.fightPig();
        proxy.catchPig();
    }
}
